How can I get the indices where array entries match a particular condition

welcome to shbcf.ru